GCF_NO_XPK_METHOD = '00000008'x /* Don't use any xpk method. */
GCF_FILE_SIGNATURE = '00000010'x /* The Signature field contains the path and name of a file containing the signature. */
GCF_AUTO_XPK_PACK = '00000020'x /* Automatically xpk pack all new messages when are written to the database. NB: A xpk method must have been defined. */
GCF_FORCE_PACK_REWRITE = '00000040'x /* Force rewrite when packing conferences. */
GCF_COMMAND_SIGNATURE = '00000080'x /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
GCF_ALWAYS_REPLY_STR = '00000100'x /* Use reply string on all replies. */
GCB_NO_XPK_METHOD = 3 /* Don't use any xpk method. */
GCB_FILE_SIGNATURE = 4 /* The Signature field contains the path and name of a file containing the signature. */
GCB_AUTO_XPK_PACK = 5 /* Automatically xpk pack all new messages when are written to the database. NB: A xpk method must have been defined. */
GCB_FORCE_PACK_REWRITE = 6 /* Force rewrite when packing conferences. */
GCB_COMMAND_SIGNATURE = 7 /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
GCB_ALWAYS_REPLY_STR = 8 /* Use reply string on all replies. */
/* Charset definitions */
BRCS_ANY = 0 /* Any charset, can't be used in BBSTypes.*/
BRCS_ISO = 1 /* ISO Latin 1 charset.*/
BRCS_IBN = 2 /* IBM charset used in Norway. Same as IBM CodePage 865. */
BRCS_SF7 = 3 /* 7-bit charset. Sweden and Finland. */
BRCS_NO7 = 4 /* 7-bit charset. Norway. */
BRCS_DE7 = 5 /* 7-bit charset. Denmark. */
BRCS_US7 = 6 /* 7-bit charset. USA. */
BRCS_UK7 = 7 /* 7-bit charset. United Kingdom. */
BRCS_IT7 = 8 /* 7-bit charset. Italia. */
BRCS_PO7 = 9 /* 7-bit charset. Portugal. */
BRCS_SP7 = 10 /* 7-bit charset. Espania. */
BRCS_GE7 = 11 /* 7-bit charset. Germany. */
BRCS_FR7 = 12 /* 7-bit charset. France. */
BRCS_IBM = 13 /* IBM charset. Same as IBM CodePage 437. */
BRCS_IBMM = 14 /* IBM multinational charset. Same as IBM CodePage 850. */
BRCS_APPLE = 15 /* Apple charset. */
BRCS_NO_OF = 15 /* Number of charset defined. */
/* Charset names */
CHARSET.1 = 'ANY' /* Any charset, can't be used in BBSTypes. */
CHARSET.2 = 'ISO' /* ISO Latin 1 charset. */
CHARSET.3 = 'IBN' /* IBM charset used in Norway. Same as IBM CodePage 865. */
CHARSET.4 = 'SF7' /* 7-bit charset. Sweden and Finland. */
CHARSET.5 = 'DE7' /* 7-bit charset. Norway. */
CHARSET.6 = 'US7' /* 7-bit charset. Denmark. */
CHARSET.7 = 'UK7' /* 7-bit charset. USA. */
CHARSET.8 = 'IT7' /* 7-bit charset. Italia. */
CHARSET.9 = 'PO7' /* 7-bit charset. Portugal. */
CHARSET.10 = 'SP7' /* 7-bit charset. Espania. */
CHARSET.11 = 'GE7' /* 7-bit charset. Germany. */
CHARSET.12 = 'FR7' /* 7-bit charset. France. */
CHARSET.13 = 'IBM' /* IBM charset. Same as IBM CodePage 437. */
CHARSET.14 = 'IBMM' /* IBM multinational charset. Same as IBM CodePage 850. */
CHARSET.15 = 'APPLE' /* Apple charset. */
/* Script Flags */
SF_NEWFILES = '00000001'x /* Do newfiles scan every logon. */
BDF_IGNORE_KEEPTIME = '00000008'x /* Don't check time when packing conferences. */
BDF_NO_XPK_METHOD = '00000010'x /* Don't use any xpk method. */
BDF_EVENTS_CHANGED = '00000020'x /* Events changed after last event package was made. */
BDF_NO_SIGNATURE = '00000040'x /* Don't use signatures. */
BDF_MARK_OWN_MSGS = '00000080'x /* Also mark messages from user when adding messages. */
BDF_NO_TAGS = '00000100'x /* Don't use tags. */
BDF_ADD_USERS = '00000200'x /* Parser should add users to database. */
BDF_FILE_SIGNATURE = '00000400'x /* The Signature field contains the path and name of a file containing the signature. */
BDF_AUTO_XPK_PACK = '00000800'x /* Automatically xpk pack new messages when they are written to this bbs. NB: A xpk method must have been defined. */
BDF_NO_AUTO_XPK_PACK = '00001000'x /* No automatically xpk packing on this bbs. */
BDF_COMMAND_SIGNATURE = '00002000'x /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
BDF_REFLOW_QUOTING = '00004000'x /* Reflow quoting should be on as default when answering messages. This flag should only be considered when bd_QuoteType is != QT_USE_SUPER. */
BDF_ALWAYS_REPLY_STR = '00008000'x /* Use reply string on all replies. This flag should only be considered when bd_ReplyString is non NULL. */
BDF_NO_REPLY_STR = '00010000'x /* Don't use reply strings on this bbs. Overrides the setting of bd_ReplyString. */
BDF_GLOBAL_REPLY_STR = '00020000'x /* Use global reply string settings. Overrides all other bbs reply string settings. */
BDF_NO_BBS_ENTER_SCR = '00040000'x /* Don't use a bbs enter script on this bbs. */
BDF_NO_BBS_LEAVE_SCR = '00080000'x /* Don't use a bbs ieave script on this bbs. */
BDF_NO_CONF_ENTER_SCR = '00100000'x /* Don't use a conference enter script on this bbs. */
BDF_NO_CONF_LEAVE_SCR = '00200000'x /* Don't use a conference leave script on this bbs. */
BDF_ENCODE_8BIT_MAIL = '00400000'x /* Encode 8 bits messages in mail conferences. Only appliable when the TDF_SUPPORTS_ENCODE_8BIT_MAIL flag is set for the bbstype. */
BDF_ENCODE_8BIT_MSGS = '00800000'x /* Encode 8 bits messages in public conferences. Only appliable when the TDF_SUPPORTS_ENCODE_8BIT_MSGS flag is set for the bbstype. */
/* Bit numbers for bbs data flags */
BDB_GLOBAL_KEEPMSG = 0 /* Use global KeepMsg. */
BDB_GLOBAL_KEEPTIME = 1 /* Use global KeepTime. */
BDB_IGNORE_KEEPTIME = 3 /* Don't check time when packing conferences. */
BDB_NO_XPK_METHOD = 4 /* Don't use any xpk method. */
BDB_EVENTS_CHANGED = 5 /* Events changed after last event package was made. */
BDB_NO_SIGNATURE = 6 /* Don't use signatures. */
BDB_MARK_OWN_MSGS = 7 /* Also mark messages from user when adding messages. */
BDB_NO_TAGS = 8 /* Don't use tags. */
BDB_ADD_USERS = 9 /* Parser should add users to database. */
BDB_FILE_SIGNATURE = 10 /* The Signature field contains the path and name of a file containing the signature. */
BDB_AUTO_XPK_PACK = 11 /* Automatically xpk pack new messages when they are written to this bbs. NB: A xpk method must have been defined. */
BDB_NO_AUTO_XPK_PACK = 12 /* No automatically xpk packing on this bbs. */
BDB_COMMAND_SIGNATURE = 13 /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
BDB_REFLOW_QUOTING = 14 /* Reflow quoting should be on as default when answering messages. This flag should only be considered when bd_QuoteType is != QT_USE_SUPER. */
BDB_ALWAYS_REPLY_STR = 15 /* Use reply string on all replies. This flag should only be considered when bd_ReplyString is non NULL. */
BDB_NO_REPLY_STR = 16 /* Don't use reply strings on this bbs. Overrides the setting of bd_ReplyString. */
BDB_GLOBAL_REPLY_STR = 17 /* Use global reply string settings. Overrides all other bbs reply string settings. */
BDB_NO_BBS_ENTER_SCR = 18 /* Don't use a bbs enter script on this bbs. */
BDB_NO_BBS_LEAVE_SCR = 19 /* Don't use a bbs ieave script on this bbs. */
BDB_NO_CONF_ENTER_SCR = 20 /* Don't use a conference enter script on this bbs. */
BDB_NO_CONF_LEAVE_SCR = 21 /* Don't use a conference leave script on this bbs. */
BDB_ENCODE_8BIT_MAIL = 22 /* Encode 8 bits messages in mail conferences. Only appliable when the TDF_SUPPORTS_ENCODE_8BIT_MAIL flag is set for the bbstype. */
BDB_ENCODE_8BIT_MSGS = 23 /* Encode 8 bits messages in public conferences. Only appliable when the TDF_SUPPORTS_ENCODE_8BIT_MSGS flag is set for the bbstype. */
/* Flags for conference data */
CDF_MEMBER_OF = '00000001'x /* Member of this conference. */
CDF_MAIL = '00000002'x /* Private mail conference. */
CDF_READ_ONLY = '00000004'x /* Read only conference. */
CDF_IGNORE_KEEPTIME = '00001000'x /* Don't check time when packing conference. */
CDF_NO_XPK_METHOD = '00002000'x /* Don't use any xpk method. */
CDF_NO_SIGNATURE = '00004000'x /* Don't use signatures. */
CDF_NOT_ON_BBS = '00008000'x /* This conference is not on the bbs. */
CDF_NO_TAGS = '00010000'x /* Don't use tags. */
CDF_REPLY_ONLY_TO_ALL = '00020000'x /* Replies should be adresses to all. */
CDF_NO_LINEWRAP_DISPLAY = '00040000'x /* Don't line wrap messages in this conference when they are displayed. */
CDF_FILE_SIGNATURE = '00080000'x /* The Signature field contains the path and name of a file containing the signature. */
CDF_AUTO_XPK_PACK = '00100000'x /* Automatically xpk pack new messages when they are written to this conference. NB: A xpk method must have been defined. */
CDF_NO_AUTO_XPK_PACK = '00200000'x /* No automatically xpk packing in this conference. */
CDF_MARK_OWN_MSGS = '00400000'x /* Also mark messages from user when adding messages. */
CDF_COMMAND_SIGNATURE = '00800000'x /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
CDF_REFLOW_QUOTING = '01000000'x /* Reflow quoting should be on as default when answering messages. This flag should only be considered when cd_QuoteType is != QT_USE_SUPER. */
CDF_ALWAYS_REPLY_STR = '02000000'x /* Use reply string on all replies. This flag should only be considered when cd_ReplyString is non NULL. */
CDF_NO_REPLY_STR = '04000000'x /* Don't use reply strings in this conf. Overrides the setting of cd_ReplyString. */
CDF_BBS_REPLY_STR = '08000000'x /* Use bbs reply string settings. Overrides all other conference reply string settings. */
CDF_NO_CONF_ENTER_SCR = '10000000'x /* Don't use a conference enter script in this conference. */
CDF_NO_CONF_LEAVE_SCR = '20000000'x /* Don't use a conference leave script on this conference. */
/* Bit numbers for conference data */
CDB_MEMBER_OF = 0 /* Member of this conference. */
CDB_IGNORE_KEEPTIME = 12 /* Don't check time when packing conference. */
CDB_NO_XPK_METHOD = 13 /* Don't use any xpk method. */
CDB_NO_SIGNATURE = 14 /* Don't use signatures. */
CDB_NOT_ON_BBS = 15 /* This conference is not on the bbs. */
CDB_NO_TAGS = 16 /* Don't use tags. */
CDB_REPLY_ONLY_TO_ALL = 17 /* Replies should be adresses to all. */
CDB_NO_LINEWRAP_DISPLAY = 18 /* Don't line wrap messages in this conference when they are displayed. */
CDB_FILE_SIGNATURE = 19 /* The Signature field contains the path and name of a file containing the signature. */
CDB_AUTO_XPK_PACK = 20 /* Automatically xpk pack new messages when they are written to this conference. NB: A xpk method must have been defined. */
CDB_NO_AUTO_XPK_PACK = 21 /* No automatically xpk packing in this conference. */
CDB_MARK_OWN_MSGS = 22 /* Also mark messages from user when adding messages. */
CDB_COMMAND_SIGNATURE = 23 /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
CDB_REFLOW_QUOTING = 24 /* Reflow quoting should be on as default when answering messages. This flag should only be considered when cd_QuoteType is != QT_USE_SUPER. */
CDB_ALWAYS_REPLY_STR = 25 /* Use reply string on all replies. This flag should only be considered when cd_ReplyString is non NULL. */
CDB_NO_REPLY_STR = 26 /* Don't use reply strings in this conf. Overrides the setting of cd_ReplyString. */
CDB_BBS_REPLY_STR = 27 /* Use bbs reply string settings. Overrides all other conference reply string settings. */
CDB_NO_CONF_ENTER_SCR = 28 /* Don't use a conference enter script in this conference. */
CDB_NO_CONF_LEAVE_SCR = 29 /* Don't use a conference leave script on this conference. */
/* Defined values for CONFDATA.CONFNETTYPE */
CDNT_NONET = 0 /* This conference is a local conference. This is the default values for new conferences. */
CDNT_FIDONET = 1 /* This conference is a Fido net conference. */
CDNT_USENET = 2 /* This conference is a usenet conference. */
/* Defined event types */
EVE_ENTERMSG = 0 /* Enter message */
EVE_REPLYMSG = 1 /* Reply message */
EVE_JOINCONF = 2 /* Join conference */
EVE_RESIGNCONF = 3 /* Resign conference */
EVE_DOWNLOAD = 4 /* Download file */
EVE_UPLOAD = 5 /* Upload file */
EVE_CONFLIST = 6 /* Get conflist */
EVE_CONFIGUREBBS = 7 /* Set correct configuration on the bbs. */
EVE_SENDUSERINFO = 8 /* Send userinfo */
EVE_GETMESSAGES = 9 /* Get specified messages */
EVE_GETNEWFILES = 10 /* Get new files listing */
EVE_DOCOMMAND = 11 /* Command the script should do */
EVE_AUTOLOGOFF = 12 /* Autologoff on next session */
EVE_RETRACTMSG = 13 /* Retract message from bbs */
EVE_RETRACTFILE = 14 /* Retract file from bbs */
/* Event flags */
EDF_DELETED = '00000001'x /* Event is deleted */
EDF_PACKED = '00000002'x /* Event is packed */
EDF_DONE = '00000004'x /* Event is done */
EDF_ERROR = '00000008'x /* Error performing this event */
EDF_UNRECOVERABLE = '00000010'x /* Event can not be undeleted */
EDF_FREEZE = '00000020'x /* Event is frozen. Will not be done as long as this flag is set. */
/* Bit numbers for event flags */
EDB_DELETED = 0 /* Event is deleted */
EDB_PACKED = 1 /* Event is packed */
EDB_DONE = 2 /* Event is done */
EDB_ERROR = 3 /* Error performing this event */
EDB_UNRECOVERABLE = 4 /* Event can not be undeleted */
EDB_FREEZE = 5 /* Event is frozen. Will not be done as long as this flag is set. */
/* Message flags */
MDF_READ = '00000001'x /* Message is read. */
MDF_REPLIED = '00000002'x /* Message is replied. */
MDF_PRIVATE = '00000004'x /* Message is private. */
MDF_TO_USER = '00000008'x /* Message is to the user. */
MDF_FROM_USER = '00000010'x /* Message is from the user. */
MDF_DELETED = '00000020'x /* Message is deleted. */
MDF_UNRECOVERABLE = '00000040'x /* Message is can not be undeleted. */
MDF_KEEP = '00000080'x /* Keep message. Message will not be deleted during conference packing. */
MDF_TO_ALL = '00000100'x /* Message is to all. (has no reciever) */
MDF_XPK_TEXT = '00000200'x /* Message text is Xpk'ed. (Private flag) */
MDF_MARKED = '00000400'x /* Message is marked. */
MDF_URGENT = '00000800'x /* Message is urgent. */
MDF_IMPORTANT = '00001000'x /* Message is important. */
MDF_SUPERMARKED = '00002000'x /* Message will not be unmarked as long as this flag is set. */
MDF_BINARY_PARTS = '00004000'x /* Message contains 1 or more binary parts. */
MDF_TEXT_PARTS = '00008000'x /* Message contains 1 or more extra text parts. */
/* These two flags does also concern possible message parts. */
MDF_MESSAGE_PARTS = '00010000'x /* Message contains 1 or more message parts. */
MDF_CONFIDENTIAL = '00020000'x /* Message is confidential. */
MDF_HAZE_BIT0 = '01000000'x /* Message haze level bit 0. */
MDF_HAZE_BIT1 = '02000000'x /* Message haze level bit 1. */
/* Bit numbers for message flags */
MDB_READ = 0 /* Message is read. */
MDB_REPLIED = 1 /* Message is replied. */
MDB_PRIVATE = 2 /* Message is private. */
MDB_TO_USER = 3 /* Message is to the user. */
MDB_FROM_USER = 4 /* Message is from the user. */
MDB_DELETED = 5 /* Message is deleted. */
MDB_UNRECOVERABLE = 6 /* Message is can not be undeleted. */
MDB_KEEP = 7 /* Keep message. Message will not be deleted during conference packing. */
MDB_TO_ALL = 8 /* Message is to all. (has no reciever) */
MDB_XPK_TEXT = 9 /* Message text is Xpk'ed. (Private flag) */
MDB_MARKED = 10 /* Message is marked. */
MDB_URGENT = 11 /* Message is urgent. */
MDB_IMPORTANT = 12 /* Message is important. */
MDB_SUPERMARKED = 13 /* Message will not be unmarked as long as this flag is set. */
MDB_BINARY_PARTS = 14 /* Message contains 1 or more binary parts. */
MDB_TEXT_PARTS = 15 /* Message contains 1 or more extra text parts. */
/* These two flags does also concern possible message parts. */
MDB_MESSAGE_PARTS = 16 /* Message contains 1 or more message parts. */
MDB_HAZE_BIT0 = 24 /* Message haze level bit 0. */
MDB_HAZE_BIT1 = 25 /* Message haze level bit 1. */
/* Values for the USETAG parameter to UNIQUEMSGFILE */
UT_MSGFILE = 1
UT_DETAILEDFILEDESCR = 2
/* User flags */
UDF_DELETED = '00000001'x /* User is deleted */
UDF_UNRECOVERABLE = '00000002'x /* User can not be undeleted */
/* Bit numbers for user flags */
UDB_DELETED = 0 /* User is deleted */
UDB_UNRECOVERABLE = 1 /* User can not be undeleted */